Empirical Studies of Clone Mutation and Clone Migration in Clone Genealogies

نویسندگان

  • Shuai Xie
  • Ying Zou
چکیده

Duplications and changes made on code segments by developers form code clones. Cloned code segments are exactly the same or have a particular similarity. A set of cloned code segments that have the same similarity with each other become a clone group. A clone genealogy contains several clone groups in different revisions and time periods. Based on different textual similarities, there are three clone types, i.e.,Type-1, Type-2, and Type-3. Clone mutation contains the changes of clone types in the clone evolutions. Clone migration is known as moving cloned code segment to another location in the software system. In this thesis, we build clone genealogies by clone groups in two empirical studies. We conduct two studies on clone migration and clone mutation in clone genealogies. We use three large open source software systems in both studies. In the first study, we investigate if the fault-proneness of clone genealogies is affected by different patterns of clone mutation and different evolution patterns of distances among clones in clone groups. We conclude that clone groups mutated between Type-1 and Type-2 and between Type-1 and Type-3 clones have higher risk for faults. We find that modifying the location of a clone increases its risk for faults. In the second study, we study if the fault-proneness of migrated clones is affected by clone mutation with different changes on clone types. We examine if the length of

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Empirical Studies of Code Clone Genealogies

Two identical or similar code fragments form a clone pair. Previous studies have identified cloning as a risky practice. Therefore, a developer needs to be aware of any clone pairs so as to properly propagate any changes between clones. A clone pair experiences many changes during the creation and maintenance of software systems. A change can either maintain or remove the similarity between clo...

متن کامل

Clone Purification, Characterization and Standardization of LaSota Strain for Developing a Live Vaccine against Newcastle Disease Virus

Newcastle disease (ND) is one of the most serious illnesses of chickens. Live vaccines are widely used to prevent chicken from the disease all over the world. To access the effective and potentiate ND vaccine, a homogenous subpopulation from LaSota strain was selected following cultivation of the virus on primary chicken embryofibroblast (CEF) cells. Pathogenicity indices and molecular characte...

متن کامل

Detection and Analysis of Near-Miss Clone Genealogies

It is believed that identical or similar code fragments in source code, also known as code clones, have an impact on software maintenance. A clone genealogy shows how a group of clone fragments evolve with the evolution of the associated software system, and thus may provide important insights on the maintenance implications of those clone fragments. Considering the importance of studying the e...

متن کامل

Comparison of genetic diversity and growth traits among Fangzheng silver crucian carp (Carassius auratus gibelio) gynogenetic clones

The silver crucian carp (Carassius auratus gibelio), a gynogenetic teleost, is a promising model for the study of evolutionary genetics in vertebrates. We identified ten gynogenetic clones (FZ-I~FZ-X) from triploid silver crucian carp, collected from Fangzheng County in Heilongjiang Province, China, using microsatellite markers. The genetic diversity of these gynogenetic clones was analyzed usi...

متن کامل

Cloning and Sequence Analysis of Gene Encoding OipA from Iranian Clinical Helicobacter pylori

Background: Outer inflammatory protein A (OipA) is one of the important adhesins of H. pylori and a valuable candidate for vaccine development. Its gene is under "on-off" switch status which correlates with OipA protein expression. Objectives: We aimed to obtain a recombinant OipA clone (with "on" status) from an Iranian clinical isolate. Materials and Methods: A clinical H. pylori-isolate demo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013